package com.yh.homestay.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * 页面跳转Controller
 * @author Administrator
 *
 */
@Controller
public class PageController {

	@RequestMapping("/")
	public String toIndex(){
		return "index";
	}

	@RequestMapping("{url}")
	public String toItemParemList(@PathVariable String url){
		return url;
	}
	
}
